package com.zh.blog.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * websocket消息
 * @author ZhengHao
 * Created At 2022/8/17.
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WebsocketMessageDto {
    /**
     * 类型
     */
    private Integer type;

    /**
     * 数据
     */
    private Object data;
}